package com.gzc.just.play.last.war.loginserver.sdk.model;

/**
 * 登录请求模型
 */
public class LoginRequest {
    private String username;
    private String password;
    private String token;
    private String code;
    private String deviceId;
    private UserPlatform platform;
    private String appId;
    private String appKey;
    private String version;
    private String channel;
    private String ip;
    
    public LoginRequest() {
    }
    
    public LoginRequest(String username, String password, UserPlatform platform) {
        this.username = username;
        this.password = password;
        this.platform = platform;
    }
    
    // Getters and Setters
    public String getUsername() {
        return username;
    }
    
    public void setUsername(String username) {
        this.username = username;
    }
    
    public String getPassword() {
        return password;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }
    
    public String getToken() {
        return token;
    }
    
    public void setToken(String token) {
        this.token = token;
    }
    
    public String getCode() {
        return code;
    }
    
    public void setCode(String code) {
        this.code = code;
    }
    
    public String getDeviceId() {
        return deviceId;
    }
    
    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }
    
    public UserPlatform getPlatform() {
        return platform;
    }
    
    public void setPlatform(UserPlatform platform) {
        this.platform = platform;
    }
    
    public String getAppId() {
        return appId;
    }
    
    public void setAppId(String appId) {
        this.appId = appId;
    }
    
    public String getAppKey() {
        return appKey;
    }
    
    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }
    
    public String getVersion() {
        return version;
    }
    
    public void setVersion(String version) {
        this.version = version;
    }
    
    public String getChannel() {
        return channel;
    }
    
    public void setChannel(String channel) {
        this.channel = channel;
    }
    
    public String getIp() {
        return ip;
    }
    
    public void setIp(String ip) {
        this.ip = ip;
    }
    
    @Override
    public String toString() {
        return "LoginRequest{" +
                "username='" + username + '\'' +
                ", platform=" + platform +
                ", deviceId='" + deviceId + '\'' +
                ", ip='" + ip + '\'' +
                ", version='" + version + '\'' +
                '}';
    }
}